package com.bjc.core.bean.request;

import java.util.List;

import com.bjc.base.bean.request.BaseReqVO;
import com.bjc.base.core.ConfigEnvironment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 部门VO
 * 
 * @author 许自辉
 * @date 2017年8月17日 下午3:35:08
 */
@Getter
@Setter
@ToString
@ApiModel("部门请求")
public class DepartmentReqVO extends BaseReqVO {

	@ApiModelProperty("部门名称")
	private String name;

	private Integer companyId;
	private Integer parentId;
	private Integer managerId;
	
	private List<Integer> deptIds;

	@ApiModelProperty("部门层级")
	private Integer level;

	@ApiModelProperty("是否删除")
	private Integer isDel;

	@ApiModelProperty("同级排序标识")
	private Integer sortId;

	@ApiModelProperty("分类")
	private Integer cateid;

	@ApiModelProperty("部门完整名称")
	private String fullName;

	@ApiModelProperty("备注")
	private String note;

	@ApiModelProperty("url")
	private String url;

	@ApiModelProperty("数据范围Id")
	private Integer dimensionItemId;

	public String getAppName() {
		return ConfigEnvironment.getAppName();
	}

}
